with open('db.txt', 'a') as file_object:
    file_object.write("I Like other Pet\n")